import request from './axios';

export const saveMenuLog = (name, url) => {
    return request({
      url: "/api/ccid-system/log/menu",
      method: 'post',
      timeout: 100,
      headers:{ "LogApi":"LogApi"},
      params: {
        menuName: name,
        requestUri: url,
      }
    });
  }
  /*
  export const saveButtonLog = (params) => {
    return request({
      url: "/api/ccid-system/log/button",
      method: 'post',
      timeout: 100,
      headers:{ "LogApi":"LogApi"},
      params: {
        ...params,
      }
    });
  }
  export const getLogList = (current, size, params) => {
    return request({
      url: "/api/ccid-system/log/list",
      method: 'get',
      params: {
        ...params,
        current,
        size,
      }
    })
  }
  */